
const path = require('path')

module.exports = {
  publicPath: './',
  lintOnSave: false,
  css: {
    loaderOptions: {
      // 给 stylus-loader 传递选项
      stylus: {
        import: path.resolve(__dirname, './src/style/color.styl')
      }
    }
  },
  devServer: {
    // 是否支持热更新
    hot: true
  },
  productionSourceMap: false
}
